﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace DTO
{
	[DataContract]
	public class Menu {
		public const String c_id = "id";
		private Int64 m_id = 0;
		[Key]
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_name = "name";
		private String m_name = "";
		[DataMember]
		public String  name { 
			 get {return m_name;} 
			 set { m_name = value; } 
		}

		public const String c_title = "title";
		private String m_title = "";
		[DataMember]
		public String  title { 
			 get {return m_title;} 
			 set { m_title = value; } 
		}

		public const String c_url = "url";
		private String m_url = "";
		[DataMember]
		public String  url { 
			 get {return m_url;} 
			 set { m_url = value; } 
		}

		public const String c_level1 = "level1";
		private Int32 m_level1 = 0;
		[DataMember]
		public Int32  level1 { 
			 get {return m_level1;} 
			 set { m_level1 = value; } 
		}

		public const String c_ordernumber = "ordernumber";
		private Int32 m_ordernumber = 0;
		[DataMember]
		public Int32  ordernumber { 
			 get {return m_ordernumber;} 
			 set { m_ordernumber = value; } 
		}

		public const String c_isdelete = "isdelete";
		private Boolean m_isdelete = false;
		[DataMember]
		public Boolean  isdelete { 
			 get {return m_isdelete;} 
			 set { m_isdelete = value; } 
		}

		public const String b_Menu = "Menu";

	}

 }
